Add sso subdict to sso auth events#542
Merged
gjtorikian merged 1 commit intoworkos:mainfrom Feb 12, 2026
Merged
Conversation
Contributor
Greptile OverviewGreptile SummaryThis PR adds the Changes:
The implementation follows the existing patterns in the codebase by using Pydantic models (extending Confidence Score: 5/5
Important Files Changed
|
gjtorikian
approved these changes
Feb 12, 2026
Contributor
gjtorikian
left a comment
There was a problem hiding this comment.
these are actually required, but I'm not able to make the change in this PR. will open my own fix soon
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This field is specified in the public docs - https://workos.com/docs/events - not sure if it should be optional or required
{ "event": "authentication.sso_succeeded", "id": "event_04FKJ843CVE8F7BXQSPFH0M53V", "data": { "type": "sso", "status": "succeeded", "user_id": "user_01E4ZCR3C5A4QZ2Z2JQXGKZJ9E", "email": "todd@example.com", "ip_address": "192.0.2.1", "user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.81 Safari/537.36", "sso": { "connection_id": "conn_01FKJ843CVE8F7BXQSPFH0M53V", "organization_id": "org_01E4ZCR3C5A4QZ2Z2JQXGKZJ9E", "session_id": "saml_session_01FKJ843CVE8F7BXQSPFH0M53V" } }, "created_at": "2023-11-18T04:18:13.126Z", "context": { "client_id": "client_01JVPGDV8WDHN5V5X5BX7C58X1" } }Documentation
Does this require changes to the WorkOS Docs? E.g. the API Reference or code snippets need updates.
If yes, link a related docs PR and add a docs maintainer as a reviewer. Their approval is required.